package com.entity.enums;

/***
 * 类描述: 服务项目类型枚举
 *
 * @author jack
 * @date 16/03/2017
 */
public enum ServiceItemSortEnum {
    //类型 0洗吹 1洗剪吹 2烫发 3染发 4护发 5接发 6化妆 7养生 8美容 9美甲 10活动专区 11外卖产品 12其他 39云美集 40大众 41美团 42口碑 43糯米 44拉手网   100充值卡 101次卡
    XI_JIAN_CHUI(1),
    TANG_FA(2),
    RAN_FA(3),
    HU_FA(4),
    JIE_FA(5),
    KUAI_JIAN(13),
    MEI_RONG(8),
    MEI_JIA(9),
    MEI_JIE(14),
    HUA_ZHUANG(6),
    YANG_SHENG(7),
    WAI_MAI_CHAN_PING(11),
    QI_TA(12),
    HUO_DONG_ZHUANG_QU(10),
    YUN_MEI_JI(39),
    DA_ZHONG(40),
    MEI_TUAN(41),
    KOU_BEI(42),
    NUO_MI(43),
    LAS_HOU_WANG(44),
    HUI_YUAN_KA(100),
    TIMERS_HUI_YUAN_KA(101),
    DISCOUNT_CARD(102);
    int value;

    ServiceItemSortEnum(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static String getDesp(int value) {
        switch (value) {
            case 1:
                return "洗剪吹";
            case 2:
                return "烫发";
            case 3:
                return "染发";
            case 4:
                return "护发";
            case 5:
                return "接发";
            case 6:
                return "化妆";
            case 7:
                return "养生";
            case 8:
                return "美容";
            case 9:
                return "美甲";
            case 10:
                return "活动专区";
            case 11:
                return "外卖产品";
            case 12:
                return "其他";
            case 13:
                return "快剪";
            case 14:
                return "美睫";
            case 39:
                return "云美集";
            case 40:
                return "大众";
            case 41:
                return "美团";
            case 42:
                return "口碑";
            case 43:
                return "百度糯米";
            case 44:
                return "拉手网";
            case 100:
                return "充值卡";
            case 101:
                return "次卡";
            case 102:
                return "折扣卡";
            default:
                return "";
        }
    }
}
